package com.tttshaoqi.server.service;

import com.tttshaoqi.common.result.PageResult;
import com.tttshaoqi.common.result.Result;
import com.tttshaoqi.pojo.entity.Flight;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.stereotype.Service;

@Service
public interface FlightService {

    PageResult page(String airline_name, Integer page, Integer pageSize,String st,String ed);

    void update(Flight flight);

    void add(Flight flight);

    Result delete(Integer id);
}
